﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace ScrumFactory.Services {

    [ServiceContract]
    public interface IAuthorizationProviderService {

        string ProviderName { get; }

        [OperationContract]
        string GetAuthorizationToken(string user, string password);

        [OperationContract]
        bool ValidadeToken(string token, string user);

        bool PasswordRequired { get; }

        bool IsNetworkUser { get; }
        
    }
}
